package com.rybbaby.tss.front.tssMemberReturnPremium.entity;

import org.hibernate.annotations.DynamicInsert;
import org.hibernate.annotations.DynamicUpdate;
import org.hibernate.annotations.GenericGenerator;

import javax.persistence.*;
import java.io.Serializable;

/**
 * @description 会员可退费列表
 * 
 * @author 雷春琼
 * 
 * @createDate 2017-08-10 上午12:14:02
 */
@Entity
@Table(name = "view_refund_list")
@DynamicUpdate(true)
@DynamicInsert(true)
public class ViewRefundList implements Serializable {


	private static final long serialVersionUID = -639313176281726423L;
	/** 主键 **/
	private String id;
	/** 会员Id **/
	private String stuId;
	/** 缴费类型 **/
	private Integer paymentType;
	/** 定金状态 **/
	private Integer depositStatus;
	/** 报名状态 **/
	private Integer applyStatus;
	/** 缴费金额 **/
	private Double amount;
	/** 会员那课时包id **/
	private String memberPackageId;
	/** 课程包总金额 **/
	private Double sumPrice;
	/** 课程包名字 **/
	private String packageName;
	/** 退款编码 **/
	private String refundCode;
	/** 退款状态 **/
	private Integer refundStatus;
	/** 发起人姓名 **/
	private String userName;
	/** 退费总金额 **/
	private Double returnAmout;
	/** 按缴费类型总金额总金额 **/
	private Double sumAmount;



	/**
	 * 方法: 取得主键
	 *
	 * @return java.lang.String 主键
	 */
	@Id
	@GeneratedValue(generator = "view_refund_listIDGenerator" , strategy = GenerationType.AUTO)
	@GenericGenerator(name = "view_refund_listIDGenerator" , strategy = "uuid")
	@Column(name = "id", nullable= false, length = 32)
	public String getId() {
		return this.id;
	}
	
	/**
	 * 方法: 设置主键
	 *
	 * @param id 主键
	 */
	public void setId(String id) {
		this.id = id;
	}

	@Column(name = "stuId", nullable= false, length = 32)
	public String getStuId() {
		return stuId;
	}

	public void setStuId(String stuId) {
		this.stuId = stuId;
	}

	@Column(name = "paymentType", nullable= false, length = 11)
	public Integer getPaymentType() {
		return paymentType;
	}

	public void setPaymentType(Integer paymentType) {
		this.paymentType = paymentType;
	}

	@Column(name = "depositStatus", nullable= false, length = 11)
	public Integer getDepositStatus() {
		return depositStatus;
	}

	public void setDepositStatus(Integer depositStatus) {
		this.depositStatus = depositStatus;
	}

	@Column(name = "applyStatus", nullable= false, length = 11)
	public Integer getApplyStatus() {
		return applyStatus;
	}

	public void setApplyStatus(Integer applyStatus) {
		this.applyStatus = applyStatus;
	}

	@Column(name = "amount", nullable= false, length = 32)
	public Double getAmount() {
		return amount;
	}

	public void setAmount(Double amount) {
		this.amount = amount;
	}

	@Column(name = "sumPrice", nullable= false, length = 32)
	public Double getSumPrice() {
		return sumPrice;
	}

	public void setSumPrice(Double sumPrice) {
		this.sumPrice = sumPrice;
	}

	@Column(name = "packageName", nullable= false, length = 32)
	public String getPackageName() {
		return packageName;
	}

	public void setPackageName(String packageName) {
		this.packageName = packageName;
	}

	@Column(name = "userName", nullable= false, length = 50)
	public String getUserName() {
		return userName;
	}

	public void setUserName(String userName) {
		this.userName = userName;
	}

	@Column(name = "returnAmout", nullable= false, length = 32)
	public Double getReturnAmout() {
		return returnAmout;
	}

	public void setReturnAmout(Double returnAmout) {
		this.returnAmout = returnAmout;
	}

	@Column(name = "refundCode", nullable= false, length = 32)
	public String getRefundCode() {
		return refundCode;
	}

	public void setRefundCode(String refundCode) {
		this.refundCode = refundCode;
	}

	@Column(name = "refundStatus", nullable= false, length = 32)
	public Integer getRefundStatus() {
		return refundStatus;
	}

	public void setRefundStatus(Integer refundStatus) {
		this.refundStatus = refundStatus;
	}

	@Column(name = "memberPackageId", nullable= false, length = 32)
	public String getMemberPackageId() {
		return memberPackageId;
	}

	public void setMemberPackageId(String memberPackageId) {
		this.memberPackageId = memberPackageId;
	}

	@Column(name = "sumAmount", nullable= false, length = 32)
	public Double getSumAmount() {
		return sumAmount;
	}

	public void setSumAmount(Double sumAmount) {
		this.sumAmount = sumAmount;
	}
}